package member.initial;


import common.totalInfo.*;
import android.app.Activity;
import android.content.*;
import android.os.Bundle;
import android.view.*;
import android.widget.*;

public class InitialDsp extends Activity 
{
    View mPage1;
    Button btn1, btn2;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {    	
        super.onCreate(savedInstanceState);
        setContentView(R.layout.initialcnf);
        
        //Intent intent = new Intent(InitialDsp.this, TatalInfo.class);
		//startActivity(intent);
    
        mPage1 = (View)findViewById(R.drawable.logo);
        btn1 = (Button)findViewById(R.id.btnsignup);
        btn2 = (Button)findViewById(R.id.btnlogin);
        
        btn1.setOnClickListener(On_SignUp);
        btn2.setOnClickListener(On_Login);
    }
    
    private View.OnClickListener On_Login = new View.OnClickListener()
    {
		
		@Override
		public void onClick(View v) 
		{
			// TODO Auto-generated method stub
			Intent i = new Intent(InitialDsp.this, Login.class);
			startActivity(i);
		}
	};
	
    private View.OnClickListener On_SignUp = new View.OnClickListener()
    {
		
		@Override
		public void onClick(View v) 
		{
			// TODO Auto-generated method stub
			Intent j = new Intent(InitialDsp.this, SignUp.class);
			startActivity(j);
		}
	};
}